package domain;

public class Task {
    private String conclusion;      //总结任务
    private String homeWork;        //作业任务
    private String preview;         //预习任务

    public Task() {
    }

    public Task(String conclusion, String homeWork, String preview) {
        this.conclusion = conclusion;
        this.homeWork = homeWork;
        this.preview = preview;
    }

    public String getConclusion() {
        return conclusion;
    }

    public void setConclusion(String conclusion) {
        this.conclusion = conclusion;
    }

    public String getHomeWork() {
        return homeWork;
    }

    public void setHomeWork(String homeWork) {
        this.homeWork = homeWork;
    }

    public String getPreview() {
        return preview;
    }

    public void setPreview(String preview) {
        this.preview = preview;
    }

    @Override
    public String toString() {
        return conclusion+"\n"+homeWork+"\n"+preview;
    }
}
